Webdados\InvoiceXpressWooCommerce\BaseController D

Total Complexity 191
Dependencies 5
Dependents 0
Total lines 1,424
Lines of code 923
Logical lines of code 442
Comment lines 394
Methods 29
Properties 6

Methods 29

Method Rating Maintainability Complexity Lines of code
getOrderItemsForDocument()
D
28
33 141
getAndSendPDF()
C
28
21 157
finalize_document()
C
29 21 133
storeAndNoteDocument()
B
35 15 85
process_items()
B
41 17 49
send_invoice_email()
A
37 10 72
preventDocumentIssuingLogger()
A
50 12 26
get_due_date()
A
50 10 27
get_vat_name()
A
52 10 25
check_order_is_euro()
S
49 5 33
preventDocumentIssuing()
S
55 5 21
find_sequence_id()
S
57 5 15
get_document_client_name()
S
60 3 13
changeOrderState()
S
57 2 17
registerSettingsOptionsValidation()
S
60 2 15
can_send_non_woocommerce_email()
S
76 3 3
registerSettingsOptions()
S
63 2 12
get_order_number()
S
77 2 3
format_string()
S
66 2 8
doActionEmail()
S
69 2 6
noteDocumentFailedPDF()
S
60 1 13
doActionFinalize()
S
74 1 4
__construct()
S
66 1 9
get_order_po_reference()
S
78 1 3
draft_document_note()
S
65 1 9
getDocumentPDF()
S
64 1 10
process_before_issuing()
S
76 1 4
order_item_title()
S
67 1 7
get_email_placeholders()
S
79 1 3